﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KBManagement.DAL;
using KBManagement.Library;

namespace KBManagement.BIZ
{
    class TransactionLog
    {

        protected KBSQLClassDataContext context = Utils.CreateInstance().GetDBContext();
        public void TransactionLogCommon(string Des)
        {
            var log = new Transaction_Log
            {
                Description = Des,
                LogTime = DateTime.Now
            };
            context.Transaction_Logs.InsertOnSubmit(log);
            context.SubmitChanges();
        }

    }



}
